home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-src / doc / history < prev    next >
Text File  |  1999-01-01  |  50KB  |  1,104 lines

  1. vbcc is (c) in 1995-99 by Volker Barthelmann
  2.  
  3. (cgm68k):  changes in the code generator for m68k
  4. (cgi386):  changes in the code generator for i386
  5. (cgppc):   changes in the code generator for ppc
  6. (cgalpha): changes in the code generator for alpha
  7. (cla68k):  changes in the C library for amiga68k
  8. (clappc):  changes in the C library for amigappc
  9. (vc):      changes in the compiler frontend
  10.  
  11.  
  12. Changes since V0.6d
  13.  
  14. - bug fix: typedefs of functions were not handled correctly
  15. - bug fix: fgets read one character too many (cla68k,clappc,clawos)
  16. - removed tail-recursion from killsp()
  17. - bug fix: incorrect use of associativity in certain rare cases
  18. - bug fix: redeclarations of inline-assembly functions left inline
  19.            assembly
  20. - bug fix: loop-unrolling had problems with loop-conditions that are
  21.            pointer comparisons
  22. - bug fix: conversion of fp -> unsigned char/short generated incorrect
  23.            assembly in special cases with FPU (cgm68k)
  24. - bug fix: fmul./fdiv. was generated incorrectly (cgppc)
  25. - bug fix: av_globals was calculated wrong (ouch!)
  26. - bug fix: adding a local optimizer-variable to a function which had
  27.            no variables in nesting 1 before
  28.  
  29. Changes since V0.6c
  30.  
  31. - support for auto-opening of libraries
  32. - bug fix: SUBIFP in strength-reduction
  33. - gets/fgets must not always return 0 when EOF
  34. - triton-code by Frank Wille included
  35. - bug fix: problems with folding pointer constants
  36. - bug fix: loop-unrolling with non-constant number of iterations
  37. - added HUGE_VAL (cla68k,clappc)
  38. - replaced fprintf(stderr by printf( (cla68k,clappc)
  39. - fixed an internal error with -no-multiple-ccs (cgppc)
  40. - included scheduler for ppc by Frank Wille (vscppc)
  41. - added support for scheduler to vc
  42. - bug fix: -1/a != -a (ouch!)
  43. - bug fix: folding of KONST|DREFOBJ was broken with optimization
  44. - some work on memory-cse
  45.  
  46. Changes since V0.6b
  47.  
  48. - added support for unsigned int size_t
  49. - added small data support for PPC (cgppc)
  50. - started code generator for c16x
  51. - added __near, __far, __chip and __saveds for 68k+PPC (cgm68k/cgppc)
  52. - added support for target-specific variable attributes
  53. - started small data support for PPC (cgppc)
  54. - improved caching of memory contents
  55. - Julian Kinraid adapted vconfig to new vc (vca68k)
  56. - warning 164 is not displayed if a function is called
  57. - bug fix: update is not allowed with rA==rD (cgppc)
  58. - changed external reference in tan.s (m040.lib) to non-pc-relative (cla68k)
  59.  
  60. Changes since V0.6a
  61.  
  62. - bug fix: fp-expressions with constants were sometimes rearranged
  63.            even without -fp-associative
  64. - bug fix: nested function-calls with stack-arguments and ORDERED_PUSH
  65. - several small changes to libvc.a/libm.a by Frank Wille (cla68k/clappc)
  66. - better use of loads with offsets (cgppc)
  67. - better tmpnam provided by A. M. Jorge (cla68k/clappc)
  68. - fwrite buffered now (clppc)
  69. - bug fix: there was a problem with GETRETURN
  70. - bug fix: bugs with argument passing in registers fixed
  71. - bug fix: a bug with TEST and UNSIGNED was introduced
  72. - bug fix: __reg without explicit type-/storage-class-specifier
  73. - bug fix: const float/double sometimes causes "#fp-constant"-problem (cgm68k)
  74. - added -double-push
  75. - negative values in reg_parm used for passign arguments in regs and stack
  76. - added -cf to vc
  77. - bug fix: format string for error 101 was broken
  78. - bug fix: conversions unsigned long->pointer in data-reg were broken (cgm68k)
  79. - bug fix: TEST without following branch could cause internal error (cgm68k)
  80. - new alib by Stephen Williams added
  81. - extra argument to reg_parm added, alpha/ppc cgs modified (cgalpha/cgppc)
  82. - bug fix: __reg was ignored in function-definitions with HAVE_REGPARMS
  83. - bug fix: switch_statement has to clear nocode
  84.  
  85. Changes since V0.6
  86.  
  87. - bug fix: functions returning structs
  88. - bug fix: str(n)icmp in extra.lib (cla68k/clappc)
  89. - added some simple elimination of redundant compare/bccs
  90. - added loop-unrolling for certain loop-invariant number of iterations
  91. - fixed names of some dos-varargs-functions in vargs.h (cla68k/clappc)
  92. - -use-lmw added (cgppc)
  93. - some work on -peephole (cgppc)
  94. - bug fix: signed right-shifts (cgppc)
  95. - newmalloc made standard (cla68k)
  96. - fixed some bugs in addressing (cgm68k)
  97. - BeginIO added to libamiga.a
  98. - fixed certain type-conversions (cgppc)
  99. - some bug fixes (cgalpha)
  100. - added NOEXE to config-files using PhxAss
  101. - bug fix: replaced buggy strncpy (cla68k/clappc)
  102. - support for stack-frames larger than 32KB added (cgppc)
  103. - some changes in the code-generator for ppc (cgppc)
  104. - new pasm can replace branches >16bit (config-files changed)
  105.  
  106. Changes since V0.5k
  107.  
  108. - -ml option added to vc
  109. - remove() and rename() added (clappc)
  110. - vc accepts +file anywhere now
  111.  
  112. Changes since V0.5j
  113.  
  114. - -setccs added (cgppc)
  115. - bug fix: some bugs for ppc fixed (cgppc)
  116. - bug fix: problems with SUBPFP in ic.c
  117. - bug fix: do_refs() had problems with pointer-constants (cgm68k)
  118. - bug fix: similar problem for i386 (cgi386)
  119. - obsolete EOF-check in main() removed
  120. - format for -cc/-ccv changed (vc)
  121. - + does not need the full path anymore (vc)
  122.  
  123. Changes since V0.5i
  124.  
  125. - fixed minor bugs in strcmp, strncmp and memcmp (cla68k,clappc)
  126. - fixed certain problems with regargs
  127. - some bug-fixes (cgppc,cgalpha)
  128. - bug-fix: KONST|DREFOBJ was incorrectly propagated as constant
  129. - hacked fd2lib to create libcall-includes (cla68k)
  130.  
  131. Changes since V0.5h
  132.  
  133. - -ul added to vc
  134. - -no-regnames added (cgppc)
  135. - changed gen_cond() void
  136. - support for struct-return and HAVE_REGPARMS
  137. - several bug-fixes (cgppc,cgalpha)
  138. - removed debugging-output in printzul
  139. - warning 208 extended to simple endless loops
  140. - cyclic dependencies in load_reg_parms are handled now
  141. - several bug fixes (cgppc)
  142.  
  143. Changes since V0.5g
  144.  
  145. - argument-registers were assigned before rewriting array/function-types
  146. - r2 is reserved (cgppc)
  147. - warning 168 is no more displayed for main()
  148. - bug-fix: alignment of floating-point-constants not always ok (cgppc,cgi386)
  149. - bug-fix: sub const with short types (cgppc)
  150. - function-inlining works with register-parameters
  151. - added stdarg-support (cgppc)
  152. - leaf-functions don't creat a stack-frame (cgppc)
  153. - some bug fixes (cgppc)
  154. - several changes in handling of alignments
  155. - added support for modulo (cgppc)
  156. - some modifications on alignments (cgm68k,cgppc)
  157. - -amiga-align added (cgppc)
  158. - mysupp included in extra.lib (cla68k)
  159. - some docs updated
  160. - added memread_id, memwrite_id and memwrite_completely to vsc.h
  161. - added inline-assembly-functions
  162.  
  163. Changes since V0.5f
  164.  
  165. - added examples of stdarg.h into the codegen-docs
  166. - -save-fp added (cgi386)
  167. - bug fix: conversions int<->char and %esi etc. (cgi386)
  168. - warning 170 turned off by default
  169. - bug fix: corrected prototype for strerror() (cla68k)
  170. - no-builtins added (cgalpha)
  171. - added some builtin faunctions (cgalpha)
  172. - ?: now works with non-scalars
  173. - dtgen is easier to use when not building a cross-compiler
  174. - __typeof added
  175. - conversions of DREFOBJ sometimes generated illegal assembly on
  176.   alpha (cgalpha)
  177.  
  178. Changes since V0.5e
  179.  
  180. - cg_copyright added
  181. - increased default-values for unroll-size and inline-size
  182. - some changes for PPC (cgppc)
  183. - bug fix: declarations with empty identifiers were accepted
  184. - bug fix: read_config() read one byte too much in vc (vc)
  185. - bug fix: warning 226 added
  186. - some optimizations for Alpha (cgalpha)
  187. - more conservative handling of copy-propagation and structs/unions
  188. - better handling of alignment of compund types
  189. - bug fix: local_regs() generated duplicate FREEREGs if a register
  190.            was exchanged in free_hreg()
  191. - bug fix: moveq was used incorrectly sometimes (cgm68k)
  192. - bug fix: problems with must_convert() for m68k (cgm68k)
  193. - bug fix: sometimes scratch registers were reused too early with
  194.            a op= b
  195.  
  196. Changes since V0.5d
  197.  
  198. - added warnings 224 and 225
  199. - bug fix: parsing of format-strings works better now
  200. - inlined calls don't increase <function_calls>
  201. - some work on the code-generator for alpha
  202. - bug fix: function-inlining didn't work with register parameters
  203. - clearing am before gen_dc
  204.  
  205. Changes since V0.5c
  206.  
  207. - new Makefile
  208. - better support for crosscompilers and emulation of data types
  209. - bug fix: several bugs fixed
  210. - a68k/amiga68k became m68k
  211.  
  212. Changes since V0.5b
  213.  
  214. - bug fix: corrupt alias info in frequency-reduction
  215. - bug fix: loop1 in flow.c
  216. - bug fix: arith_opt() converted uninitialized var
  217. - uses ffree for i386 (cgi386)
  218. - added supp.h/c; started to separate C-specific parts
  219.  
  220. Changes since V0.5a
  221.  
  222. - setvbuf works better now (cla68k)
  223. - bug fix: float/double->unsigned char/short works correct with FPU now (cga68k)
  224. - -longalign added (cgi386)
  225. - bug fix: mieee.lib closed wrong library (cla68k)
  226. - bug fix: typo in default rule of Makefile
  227. - added warning 222
  228. - bug fix: addressing-modes with 68020+ (cga68k)
  229. - bug fix: local register allocation when optimizing
  230. - bug fix: create_loop_headers had problems with empty basic blocks
  231. - bug fix: enforcer hit and incorrect warnings in certain while- and
  232.            for-expressions when optimizing
  233. - bug fix: parsing of certain declarations was buggy
  234.  
  235. Changes since V0.5
  236.  
  237. - loop-unrolling now works with multiple ccs
  238. - work on the ppc code generator (cgppc)
  239. - bug fix: old-style function-definitions with '...' didn't give a diagnostic
  240. - bug fix: missing ',' in function calls didn't give a diagnostic
  241. - bug fix: certain missing brackets around initializers didn't give a
  242.            diagnostic
  243. - bug fix: in certain cases wrong code for divisions was generated (cgi386)
  244. - bug fix: optimizing local register allocation had problems with USEQ2ASZ
  245. - local_regs() tries to use best reg with SETRETURN
  246. - started support for default argument passing in registers
  247. - bug fix: rearranging of array-accesses was buggy with DREFOBJs
  248. - bug fix: loading of parameters into registers was sometimes wrong if there
  249.            was a jump to the first basic block after optimization
  250. - bug fix: casting to void and conditional-expressions with void caused
  251.            problems
  252.  
  253. Changes since V0.4f
  254.  
  255. - bug fix: there was a bug with local register allocation and optimizing
  256. - bug fix: t_max[CHAR] was wrong :-) (cga68k, cgi386, cgppc)
  257. - ixemul-support updated (cla68k)
  258. - bug fixed: initialized arrays with unspecified size always increased size
  259.              of stack frame
  260. - work on the i386 code generator (cgi386)
  261. - fixed bug with register parameters and optimizer
  262. - a4 is saved when geta4 is called (cga68k)
  263.  
  264. Changes since V0.4e
  265.  
  266. - small improvements on the i386 code generator (cgi386)
  267. - bug fix: minor bug in loop-unrolling with TEST
  268. - bug fix: there was a check missing in type_expr/CALL
  269. - bug fix: do not use addressing modes if base register was freed (cga68k)
  270. - added new m040.lib by Aki M Laukkanen (cla68k)
  271. - added elf-support and -elf option to i386 code generator (cgi386)
  272. - bug fixed: _ctype_.c in vcs.lib had been built with large data (cla68k)
  273. - __reg added
  274. - added support for parameter passing in registers
  275. - small changes in local optimizing register allocation
  276.  
  277. Changes since V0.4d
  278.  
  279. - arguments for mieee-functions are passed in different order now; rebuilt
  280.   mieee.lib (cga68k, cla68k)
  281. - changed directory-structure, Makefile and frontend
  282. - bug fixed: certain struct initializations got the alignment wrong (bug
  283.              was probably introduced recently)
  284. - included new PhxLnk
  285. - included startup-code for ixemul.library by Frank Wille
  286. - changed default vc.config (-Ivinclude: put at the end)
  287. - better error handling when parsing enums
  288. - fixed a bug with struct-assigns and improved them a bit (cga68k)
  289. - moved a } in killsp()
  290. - slightly better error-handling of function-declarations
  291. - warning 121 only applies to storage-class extern
  292. - bug fixed: declaration for remove() was missing in stdio.h (cla68k)
  293. - bug fixed: extra ','s in function calls cause a diagnostic now
  294. - added a missing ';' in vconfig-sources
  295. - added missing includes and removed incorrect ',' in vbrowse-sources
  296.  
  297. Changes since V0.4c
  298.  
  299. - bug fixed: delayed-popping was corrupt in certain cases (cga68k, cgi386)
  300. - cleanup_cg() added
  301. - shortcut() added
  302. - fixed bug in the optimzer (av.c and regs.c)
  303. - modified handling of character-constants with multiple chars
  304. - cleaned up a lot of internal things and using the target's arithmetic
  305.   where necessary - required changes in the code generators
  306. - simple-regs will assign scratch-registers again if no functions are called
  307. - fixed bug in simple-regs
  308.  
  309. Changes since V0.4b
  310.  
  311. - -no-multiple-ccs added
  312. - warning 119 is not displayed for static vars any more
  313. - bug fixed: global copy propagation probably didn't really do anything
  314. - better support for multiple condition code registers
  315. - started code-generator for ppc
  316. - changed directory-structure
  317.  
  318. Changes since V0.4a
  319.  
  320. - bug fixed: the new PUSH still didn't work ok in all cases (cga68k)
  321. - bug fixed: certain (useless) comparisons between unsigneds and constants
  322.              generated wrong code
  323.  
  324. Changes since V0.4
  325.  
  326. - bug fixed: isalpha must not be true for anything but a-z/A-Z (cla68k)
  327. - new PhxLnk
  328. - bug fixed: aliasing info was incorrect in some mustconvert-cases
  329. - bug fixed: the assert-macro didn't work (cla68k)
  330. - bug fixed: the offset of addressing modes was not cleared generating
  331.              problems with the new PUSH (cga68k)
  332. - bug fixed: assign() had problems with qualified floats/doubles (cga68k)
  333.  
  334. Changes since V0.3i
  335.  
  336. - rebuilt libraries with -O2 (cla68k)
  337. - warning 216 added
  338. - bug fixed: initializations of structs containing unnamed bitfields were
  339.              not handled correctly
  340. - [f|s]printf and [f|s]scanf are always recognized if declared correctly
  341. - modified cp.c to use aliasing info
  342.  
  343. Changes since V0.3h
  344.  
  345. - bug fixed: aliasing info with arrays and structs wasn't always correct
  346. - #pragma opt added
  347. - added __v0[s|f]printf to vc.lib and modified stdio.h (cla68k)
  348. - added replacing printf/scanf-like functions
  349. - warning 215 added
  350. - warning 214 added
  351. - looking at format strings of printf/scanf and similar functions
  352. - #pragma printflike/scanflike added
  353. - handling of #pragma changed a bit
  354. - warning 213 added
  355. - bug fixed: calls strlen, strcpy and memcpy were inlined even if they had
  356.              no external linkage
  357. - warning 212 added
  358. - warning 211 added
  359. - bug fixed: t_max[UNSIGNED|LONG] wasn't set correctly (cga68k)
  360. - warning 210 added
  361. - warning 170 displays line number
  362. - INIC supported for error-messages
  363. - changed ierror-macro and eliminated multiple __FILE__-expansions reducing
  364.   size of executable a bit
  365. - improved debugging output (cga68k)
  366. - vc prints size of generated executable with -v (vca68k)
  367. - vc puts temporary files in T: unless -notmpfile is specified (vca68k)
  368. - improved debugging output (cga68k)
  369. - added geta4() (cla68k)
  370. - moved a few killsp()s
  371. - added elementary source-level-debugging helps (cga68k)
  372. - added -g to activate symbol-debugging with PhxAss (cga68k)
  373.  
  374. Changes since V0.3g
  375.  
  376. - bug fixed: ceil() and floor() have been missing in m881.lib (cla68k)
  377. - bug fixed: prototype for fputs was wrong (cla68k)
  378. - improved pushing of larger objects (cga68k)
  379. - added chdir() to extra.lib (cla68k)
  380. - bug fixed: sometimes dc.l xyz(a4) was generated (cga68k)
  381. - fixed some memory-leaks with alias-info
  382. - bug fixed: always_reached was not reliable
  383. - bug fixed: frequency-reduction sometimes created the wrong type if a
  384.              computation (but not the whole IC) was moved
  385. - slightly modified calc_movable()
  386. - used old version of always_reached again
  387. - address-of struct/union/array ICs were sometimes not moved out of loops
  388. - redesigned handling of used/changed objects and aliasing information
  389.  
  390. Changes since V0.3f
  391.  
  392. - bug fixed: space for at least one var on the stack has been allocated
  393.              even if no var was ever used
  394. - changed optimizing register assignment slightly
  395. - bug fixed: type-based alias-optimization wasn't always correct
  396. - bug fixed: the new reaching-definitions did not handle compound types
  397. - bug fixed: strength-reduction created problems with certain configurations
  398.              of nested loops and splittable induction-vars
  399. - bug fixed: strength-reduction of x-ind_var did not negate the induction
  400. - vbcc built itself, vc and vcpp succesfully under NetBSD-Amiga 1.1
  401. - alignment of arrays in structures now depends on the array type
  402. - rebuilt mieee.lib, vc.lib and vcs.lib to use new return type passing (cla68k)
  403. - modified returning of larger types and added -no-fp-return and
  404.   -no-mreg-return (cga68k)
  405. - returning of structures in registers is allowed
  406. - 8bit constants are copied in registers for 060 again (cga68k)
  407. - elimination of a dead GETRETURN does not count as a change any more
  408. - moved the computation of areached out of the frequency-reduction-loop
  409. - made printing of fp-constants a bit better (cga68k)
  410. - added -gas (cga68k)
  411. - bug fixed: in certain cases a TEST #const was generated
  412. - included new fd2lib/MakeALIB.script/DoPktn.c by Johnny Tevessen
  413. - removed some gcc-specific-#includes from amiga.lib (cla68k)
  414. - modified representation of reaching-definitions and its use in
  415.   constant-propagation and frequency-/strength-reduction
  416. - bug fixed: declaration for fputs() was missing in stdio.h (cla68k)
  417. - added -no-alias-opt
  418. - alias-analysis by type added; currently used in:
  419.   - active-variable-analysis
  420.   - reaching-definitions-analysis
  421.   - available-expression-analysis
  422.  
  423. Changes since V0.3e
  424.  
  425. - changed vbrowse to be compatible with new error-mechanism
  426. - changed error-mechanism somewhat
  427. - added -iso
  428. - meaning of -ansi changed
  429. - strength-reduction uses the same induction variable for equivalent
  430.   operations now
  431. - bug fixed: another one with addressing-modes (cga68k)
  432. - bug fixed: end of basic blocks was not always correctly recognized and
  433.              illegal addressing modes could have been used when optimizing
  434.              (cga68k)
  435. - minor changes to time.h (cla68k)
  436. - lea is sometimes used for ADDI2P/SUBIFP (cga68k)
  437. - improved use of postincrement (cga68k)
  438. - pea is used with addressing-modes now (cga68k)
  439. - constant 0s are not copied into data registers any more (cga68k)
  440. - changed global register-allocation; starts with outermost loops and works
  441.   a bit different now
  442. - bug fixed: if/while/for did generate corrupt code if the condition was
  443.              constant 0 and the body contained a labeled-statement
  444. - bug fixed: simple_regs() did assign variables to scratch-registers even
  445.              if the function contained function-calls sometimes
  446. - bug fixed: there was a hardcoded sizeof(POINTER)==4 in szof()
  447. - bug fixed: changed the init-value for local_offset from 4 to maxalign
  448.              and adapted probj2()
  449. - some peephole-optimizations added
  450. - -fp-associative added
  451. - bug fixed: ICs with one source equal to the target were considered as a
  452.              use(gen) preventing elimination of such ICs in loops
  453. - bug fixed: sometimes branch-instructions were moved incorrectly
  454. - strength-reduction added
  455. - bug fixed: peephole() did some not-so-nice things when folding pointer
  456.              operations; probably not fatal in 68k code-generator
  457. - moved some parts from machine.c to other files and made the separation
  458.   of machine-dependent parts somewhat nicer
  459.  
  460. Changes since V0.3d
  461.  
  462. - bug fixed: frequency-reduction (and perhaps cse, too) got the type of
  463.              added temporaries wrong for ADDRESS/ADDI2P etc.
  464. - bug fixed: sometimes the test in for/while loops was corrupt if it contained
  465.              type-conversions in optimizing compilation
  466. - bug fixed: function-inlining did complain about functions returning struct
  467. - bug fixed: there was a problem with copy-propagation and structs
  468. - bug fixed: labs() was called abs() (cla68k)
  469. - added inlining of several functions to the header files (cla68k)
  470. - bug fixed: vbcc tried to inline varargs functions which usually resulted
  471.              in an error
  472. - frequency-reduction added
  473. - bug fixed: constant folding when optimizing did a division by zero when
  474.              folding a floating-point division with ]-1;0[ v ]0;1[
  475. - bug fixed: the 32bit division functions in vc.lib were buggy and got in
  476.              an (almost) endless loop with certain arguments; as vbcc
  477.              uses them it could get stuck when folding certain constants.
  478. - bug fixed: certain definitions haven't been set correctly at the start
  479.              of a function leading to wrong reaching definitions and corrupt
  480.              constant propagation in some cases
  481. - bug fixed: copy propagation did replace argument of ADDRESS
  482. - vc passes -+ through to vcpp (vca68k)
  483.  
  484. Changes since V0.3c
  485.  
  486. - vbcc accepts a space after '=' in its option (used by vc)
  487. - improved copy propagation; it was very conservative sometimes
  488. - bug fixed: there were parentheses missing somewhere in cp.c
  489. - bug fixed: restoring of scratch registers after function-calls was buggy
  490.              in optimizing compilation
  491. - distributed Makefile should be ready to use with vbcc now, Makefile.generic
  492.   should be easy to use with another compiler
  493. - polished Makefiles (added rules for vbccs etc.)
  494. - -o option of vc works with intermediate files, too (vca68k)
  495. - extra.lib included in source tree (cla68k)
  496. - vconfig included in source tree
  497. - bug fixed: the putc-macro in stdio.h wasn't ok, I think (cla68k)
  498. - vcpp was configured to accept C++-comments by default - this has been
  499.   corrected; add '-+' to the -pp lines in vc.config if you insist
  500. - -strip-path added
  501. - vc and vbcc accept -o=executable now
  502. - changed the call to vcpp in vc.config (no stdout-redirection any
  503.   more) (vca68k)
  504. - bug fixed: mysupp.c closed dup'ed files twice (cla68k)
  505. - replaced strstr in vc.lib by a version written by Kasper Graversen (cla68k)
  506. - -dontkeep-initialized-data causes vbcc not to keep initialized data in
  507.   memory and can therefore reduce memory consumption
  508. - warning 118 is no ANSI-violation
  509. - warning 207 added
  510. - checking of type-specifiers/qualifiers is now more strict
  511. - changed text for error 58
  512. - bug fixed: some initializations with additional braces were rejected
  513. - some minor changes to vc.doc (vca68k)
  514. - changed text for error 93 (errors.h, errors.doc, VBCCMessages.guide)
  515. - bug fixed: register assignment in optimizing compilation made errors
  516.              due to wrong BRA interpretation
  517.  
  518.  
  519. Changes since V0.3b
  520.  
  521. - minor changes to loop.c
  522. - bug fixed: fread didn't always return correct results (cla68k)
  523. - bug fixed: there were some 'extern's missing in vbc.h causing e.g. the
  524.              old problems with source layout
  525. - rebuilt vcpp to allow more than 10 open files (ouch!)
  526. - bug fixed: under certain circumstances global common subexpressions
  527.              were not replaced correctly if use and one evaluation were
  528.              in the same basic block
  529.  
  530.  
  531. Changes since V0.3a
  532.  
  533. - vc.lib/vcs.lib/mieee.lib/m881.lib/m040.lib/vbcc/vc rebuilt
  534. - div/ldiv should be conforming now
  535. - ungetc should now work even if it is the first action to a stream (cla68k)
  536. - fflush(0) only affects files in output mode (cla68k)
  537. - removed const qualifier from the ctype-array (cla68k)
  538. - changed the ctype-functions to use the array (cla68k)
  539. - added #definition of NULL to stdio.h (hope that's correct) (cla68k)
  540. - changed several stdio-functions and added line-buffering (cla68k)
  541. - bug fixed: setbuf/setvbuf was broken (cla68k)
  542. - bug fixed: vbrowse didn't ask for gadtools.library V39
  543. - vbrowse opens a window that fits on a standard workbench by default now
  544. - bug fixed: there was a bug in newmalloc.c (cla68k)
  545. - bug fixed: included new version of the pooled memory routines for amiga.lib
  546.              and rebuilt amiga.lib; hopefully works with OS2.0 now (cla68k)
  547. - bug fixed: struct-declaration-structs have been freed too early; current
  548.              solution is not very nice, but should work
  549. - bug fixed: there should not be restrictions on the source layout any more
  550.              (problem with look-ahead fixed)
  551. - bug fixed: identifiers longer than MAXI could cause problems
  552. - bug fixed: passing incomplete types to functions without prototypes did
  553.              not cause a diagnostic
  554. - changed the internal representation of structs/unions/prototypes
  555.   - some non-conforming things in the source corrected
  556.   - hardcoded limit for struct sizes etc. eliminated
  557.   - type of incomplete structs should be ok now
  558. - bug fixed: code after an always false if etc. wasn't generated even if
  559.              it contained a label
  560.  
  561.  
  562. Changes since V0.3
  563.  
  564. - vc passes options starting with -D or -I through to the preprocessor -
  565.   the format for -pp/-ppv has changed (vca68k)
  566. - vc writes names of objects for the linker to a temporary file if they are
  567.   very long (vca68k)
  568. - vc supports option -nostdlib to prevent linking with standard-startup/libs
  569.   additional entries -l2/-l2v are necessary in vc.config (vca68k)
  570. - bug fixed: perror was called prerror in the library - ouch; Make-scripts
  571.              changed and vc.lib/vcs.lib rebuilt (cla68k)
  572. - bug fixed: perror-prototype was incorrect (cla68k)
  573. - added missing prototype for strerror() to string.h (cla68k)
  574. - added missing prototype for strtok() to string.h (cla68k)
  575. - rebuilt amigas.lib and vcs.lib (cla68k)
  576. - bug fixed: constant data in code-sections was addressed via a4 with -sd
  577.              (cga68k)
  578. - bug fixed: conversion between pointers and integers may not be omitted in
  579.              most cases (cga68k)
  580. - branches after TEST unsigned are changed now and tst may be omitted (cga68k)
  581. - rebuilt amiga.lib (cla68k)
  582. - bug fixed: fd2lib didn't work with varargs-functions expecting the
  583.              argument-list in a data register (cla68k)
  584. - added several varargs-functions to fd2lib (cla68k)
  585. - edited the Make#?lib.scripts (cp->copy, *.c->#?.c) (cla68k)
  586. - added a few xdefs to amiga.lib (cla68k)
  587.  
  588.  
  589. Changes since V0.2v
  590.  
  591. - changed the version number :-)
  592.  
  593.  
  594. Changes since V0.2u
  595.  
  596. - rebuilt vc.lib and vcs.lib
  597. - bug fixed: the vbcc-compiled cpp did not close opened files; now the
  598.              routines in mysupport.c close all opened files at exit
  599. - bug fixed: there was still an error that caused wrong line numbers to be
  600.              printed in messages when an external preprocessor was used
  601. - compiling with NO_OPTIMIZER #defined and linking without av.o, cp.o, cse.o,
  602.   flow.o, loop.o and rd.o produces a smaller executable that doesn't
  603.   include the global optimizer
  604. - compiled the cpp from the lcc-distribution with vbcc and changed vc.config
  605.   to call this one rather than dcpp (vca68k)
  606. - bug fixed: removed some float.h scratch from limits.h (cla68k)
  607. - bug fixed: some code generation errors fixed (cga68k)
  608. - bug fixed: addressing-modes were sometimes used where they shouldn't (cga68k)
  609. - bug fixed: sometimes wrong code was generated for a op= b; expressions
  610. - bug fixed: some optimizer routines sometimes called mymalloc(0) which
  611.              caused mymalloc to abort with C-libraries returning a null
  612.              pointer; fixed by changing the size to 1 in mymalloc (not
  613.              very nice, but simple)
  614. - added alternative malloc-routines that use the Amiga's AllocPooled-Rotuines
  615.   (libsrc/stdlib/newmalloc) (cla68k)
  616. - bug fixed: in the handling of switch-statements the addressing-mode-pointers
  617.              were set to zero too early and therefore later overwritten
  618.              with scratch
  619. - bug fixed: in some places memory that was already free'd was accessed under
  620.              certain circumstances
  621. - replacing multiplications by shifts was not done in recent versions (cga68k)
  622. - some minor code generation improvements (cga68k)
  623. - bug fixed: copies of local auto variables of inlined functions got
  624.              non-empty identifiers which caused corrupt code generation
  625.              under certain circumstances
  626. - bug fixed: function-inlining didn't work with return-values that must be
  627.              passed via pointer
  628. - bug fixed: variables in IDENTIFIER-nodes were searched with find_var()
  629.              in gen_code() again, rather than using a copy from
  630.              type_expression(); this generated corrupt code in certain cases
  631.              of function-inlining
  632. - rebuilt showerr and tovbr using small-data with new PhxLnk
  633. - added special inlining of strlen() and strcpy()
  634. - bug fixed: the amiga68k code generator assumed long-alignment with
  635.              inline_memcpy
  636. - bug fixed: tst may not be omitted if operand is unsigned (cga68k)
  637. - bug fixed: inline_memcpy was not only used when optimizing
  638. - bug fixed: the line number displayed in diagnostics were sometimes wrong
  639.              if an external preprocessor with # <line> "file" was used
  640. - bug fixed: function inlining messed up labels of static local vars
  641.  
  642.  
  643. Changes since V0.2t
  644.  
  645. - removed any 060-specific modulo-handling again (060 has div?l.l) (cga68k)
  646. - some minor code generation improvements with arithmetic instructions and
  647.   constants (cga68k)
  648. - warning for not correctly handled empty struct-declarations added
  649. - bug fixed: initializations of incomplete structs resulted in infinite
  650.              error loops
  651. - improved diagnostics regarding incomplete types
  652. - bug fixed: nested calls to inlined functions were broken
  653. - address-of instructions are subject to common-subexpression-elimination
  654. - bug fixed: function-inlining sometimes assigned the arguments to the wrong
  655.              variables
  656. - #pragma only-inline on/off added
  657. - some associativity optimizations are done with ADDI2P, too
  658.  
  659.  
  660. Changes since V0.2s
  661.  
  662. - some minor changes and bug fixes on vbrowse
  663. - program showerr added
  664. - bug fixed: if the return value was moved to an address register this was
  665.              supposed to set the condition codes (cga68k)
  666. - addq #const,a7 is no longer supposed to destroy condition-codes (cga68k)
  667. - bug fixed: sometimes the popping of function arguments was moved before
  668.              a call (cga68k)
  669. - added #pragma type to display the type of an expression
  670. - bug fixed: declarations of functions within functions were buggy in 0.2r,
  671.              because the prototype of the inner function was freed to early
  672. - bug fixed: vbcc assumed that "fmove.l fpx,ea" sets condition-codes for
  673.              ea (cga68k)
  674. - bug fixed: TEST-instructions were omitted even if the type was different
  675.              (could probably only happen with dirty things) (cga68k)
  676. - bug fixed: offsets for temporary buffers for scratch-registers were
  677.              sometimes incorrectly calculated (only without optimizing);
  678.              scanf() of the recent mieee.lib and m040.lib versions was
  679.              broken due to that bug
  680. - bug fixed: string constants are only allowed as initalizers for array of
  681.              char now
  682. - bug fixed: handling of long float/double is now a bit better
  683. - changed flags of a few error messages
  684. - bug fixed: problem with unexpected end of file errors fixed and some
  685.              improvements in killsp() and translation_unit()
  686. - function calls are never separated from the corresponding PUSHs now (this
  687.   might confuse the delayed popping of code-generators)
  688. - if all successors of a block have the same instruction at the beginning
  689.   it is moved to the predecessor in certain cases
  690. - space for local variables is better used in optimizing compilation now
  691. - function inlining doesn't increase label-numbers any more
  692. - handling of local registers and pointer dereferencing improved a bit
  693.   (temporary vars that get dereferenced should almost always be
  694.   assigned a proper register now)
  695. - bug fixed: rearranging of array-accesses was buggy in 0.2s
  696. - bug fixed: a previous declaration of a function was not visible in the
  697.              function definition in 0.2s
  698. - changed the ctype macros a bit (cla68k)
  699. - bug fixed: use of addressing modes was buggy in 0.2s (therefore the
  700.              last mieee.lib was broken) (cga68k)
  701. - code generation for modulo improved for 020+ (incl. 060) (cga68k)
  702.  
  703.  
  704. Changes since V0.2r
  705.  
  706. - bug fixed: conversions between unsigned<->floating point should now
  707.              always be correct with mieee.lib (cga68k) (cla68k)
  708.              mieee.lib rebuilt
  709. - if -noasm is specified the .asm file is no longer created
  710. - gen_vars() now does not create output if there were errors or -noasm
  711.   was specified (this also fixes a bug that created infinite internal
  712.   errors after certain corrupt initializers)
  713. - bug fixed: vbcc did not correctly recognize if opening of the input file
  714.              failed in V0.2q/r
  715. - some optimizations to improve array accesses
  716. - VARADR objects are subject for copy propagation now
  717. - add/sub with constant addresses gets folded (opt only)
  718. - divsl.l is not used when -cpu=68060 is selected (cga68k)
  719. - switch-statements can be implemented by SUB/TEST/BEQ sequences rather
  720.   than COMPARE/BEQ sequences (selectable with SWITCHSUBS)
  721. - bug fixed: no error for duplicate case labels was printed
  722. - bug fixed: detecting of loops did identify loops with jumps out of
  723.              the loop as normal loops
  724. - bug fixed: scope of function prototypes should now be correct
  725. - bug fixed: function parameters were not marked as DEFINED and therefore
  726.              redefinition of function parameters did not cause errors
  727.  
  728. Changes since V0.2q
  729.  
  730. - if several basic blocks have the single same successor and the last
  731.   last instruction of those statements is identical it is moved to the
  732.   common successor
  733. - for CPUs>=68040 8bit constants are not copied to registers (cga68k)
  734. - popping of function arguments is done one instruction before a TEST inst.
  735.   (I thought this was necessary to avoid certain tst-instructions, because
  736.   my manual says addq #x,a7 changes condition codes - however this seems
  737.   to be wrong) (cga68k)
  738. - Thorsten Schaaps' preprocessor integrated into vbcc
  739.   files vbpp.h and preproc.c added
  740. - new options:
  741.   - -nested-comments allows nested comments (not ANSI conforming)
  742.   - -cpp-comments allows C++ style comments (not ANSI conforming)
  743.   - -macro-redefintion allows redefinition of macros (not ANSI conforming)
  744.   - -no-trigraphs prevents expansion of trigraphs (not ANSI conforming)
  745.   - -no-preprocessor prevents use of the bultin preprocessor
  746.   - -E only preprocesses the file to <file>.i
  747.  
  748.  
  749. Changes since V0.2p
  750.  
  751. - bug fixed: strncat() did not append a 0, but behaved like strncpy (cla68k)
  752. - bug fixed: sizeof(uncomplete type) did not cause an error message
  753. - bug fixed: wrong code was generated for ?: if the condition evaluated
  754.              to a scratch-var pointing somewhere
  755. - bug fixed: pointer:0 and 0:pointer was not allowed in conditional-exp
  756. - bug fixed: delayed popping produced wrong code with nested function calls
  757. - support for #line directive of most preprocessors added
  758. - several additions made to must_convert()  (cga68k)
  759. - realloc() added to vc.lib (cla68k)
  760. - target-specific optimization options have been separated from the
  761.   -O flag
  762. - the Amiga68k code generator now accepts the following flags to replace
  763.   the former corresponding flags in the -O option:  (cga68k)
  764.   - -use-framepointer
  765.   - -no-addressing-modes
  766.   - -no-delayed-popping
  767. - bit 12 (4096) in -O activates function inlining; previously defined
  768.   functions are inlined in their caller, depending on the size of the
  769.   function
  770. - new option -inline-size can be used to in-/decrease the number of
  771.   functions to be inlined; default=30 - higher values mean more functions
  772.   get inlined
  773.  
  774.  
  775. Changes since V0.2n/0.2o
  776.  
  777. - new option -optpasses=n sets the maximum number of optimizer passes
  778. - bug fixed: ADDI2P with a short integer sometimes was not converted if the
  779.   target was a data register
  780. - constant data is placed in the code sections as long as -const-in-data
  781.   is not specified (cga68k)
  782. - m040.lib started (cla68k)
  783. - unnecessary tst instructions are sometimes eliminated (cga68k)
  784. - constants -128<=x<128 are not copied in a register for SETRETURN and PUSH
  785. - COMPARE x,#0 should now always be converted to TEST x
  786. - bug fixed: a label-statement at the end of a block caused an error
  787. - bug fixed: sometimes still used type node was freed in alg_opt
  788. - bug fixed: unsigned function arguments were sometimes converted to signed
  789. - calling scheme for ieee and ldiv functions changed (cga68k)
  790. - usage of addressing modes with ieee and ldiv functions prohibited (cga68k)
  791. - bug fixed: files opened for append were deleted, oops (cla68k)
  792. - use of addressing modes slightly changed (cga68k)
  793. - modf, ldexp and frexp added to mieee.lib and m881.lib (cla68k)
  794. - bug fixed: unsigned integers were not allowed in case labels
  795. - bug fixed: push problem
  796. - bug fixed: cmp x,#0 was sometimes converted to tst x without changing the
  797.   following branching instruction (cga68k)
  798. - for and while loops are generated differently when optimizing is
  799.   activated (first testing of the loop condition can sometimes be deleted)
  800. - bug fixed: isquickkonst2 now tests for 0<x<=8 rather than 0<=x<=8 (ouch) (cga68k)
  801. - a>>0=a<<0=a and a few other algebraic optimizations added
  802. - insert_const2() added and insert_const() changed
  803. - saverestoreregs() now has a stack for the pushed register-lists (cga68k)
  804.   (removed again, because saveregs/restoreregs has now been removed and
  805.    mechanism changed)
  806. - bug fixed: delayed popping of function arguments corrected (cga68k)
  807. - delayed popping and omitting of framepointer can now be turned on
  808.   separately (256 for framepointer, 512 for delayed popping)
  809. - bug fixed: stackoffset was sometimes incorrectly calculated
  810. - internal mechanism for passing function return values changed, structure
  811.   returns should be reentrant now
  812.   some library routines may have to be recompiled
  813.   mieee.lib was rebuilt to use the new mechanism (cla68k)
  814. - op a,b->scratchvar; move scratchvar->c is combined to op a,b->c
  815. - handling of optimizations slightly changed
  816. - bug fixed: open_out() allocated a buffer one byte too small if the input
  817.   file contained no period
  818.  
  819. - bit 2... in -O option activate heavy optimizations
  820.   - scratchvars are not assigned to registers during IC generation
  821.   - labels are optimized and a flowgraph is constructed
  822.   - branches to branches, branches to the following instruction etc. are
  823.     optimised and unreachable code is eliminated
  824.   - constants are propagated and folded
  825.   - common subexpressions are eliminated
  826.   - copies are propagated
  827.   - active variables are analysed and dead assignments eliminated
  828.   - temporary variables are recognized and assigned to registers
  829.   - registers are assigned differently using information on active variables
  830.     and loop structure
  831.  
  832. - new source files added/changed:
  833.   - opt.h : declarations etc. used in optimization routines
  834.   - opt.c : general routines, peephole optimizations and control of
  835.             optimization passes
  836.   - flow.c: construction of flowgraphs, jump optimizations and other
  837.             control-flow related routines
  838.   - regs.c: register allocation
  839.   - av.c  : analysis of active variables and elimination of dead assignments
  840.   - rd.c  : analysis of reaching definitions, constant propagation and
  841.             constant folding
  842.   - cse.c : common subexpression elimination
  843.   - cp.c  : copy propagation
  844.   - loop.c: analysis of loops and optimizations in loops
  845.  
  846. - the following warnings have been added
  847.   - use of variable before its initialization (with optimizer only)
  848.   - dead assignments (opt only)
  849.   - definition of global functions without prior declaration
  850.   - non-void functions without return-statements
  851.   - assignment in comparison context
  852.   - weird code (opt only)
  853.  
  854.  
  855. Changes since V0.2m
  856.  
  857. - if -ansi is specified assignments between differently signed pointers
  858.   will cause an error
  859. - -dontwarn=n disables all warnings if n<0
  860. - -warn option added to enable certain warnings, usage like -dontwarn
  861. - the following warnings have been added
  862.   - implicit function declarations
  863.   - function calls without prototype
  864.   - use of #pragma
  865.   - assignment/cast of integers to narrower type
  866.   - cast of pointer to pointer with stricter alignment requirements
  867.   - redundant comparisons with unsigned values
  868. - stupid, braindead error in codegenerator fixed (wrote to string constant
  869.   and caused segmentation faults on systems with memory protection) (cga68k)
  870. - TimeDelay new in amiga.lib (has to be rebuilt)
  871. - ctype.h now has function prototypes and macros should be ok with negative
  872.   arguments
  873. - macros in stdio.h now accept void* pointers and do some fancy type checking
  874.   (cla68k)
  875. - temporary hack to display correct filename and line number in error
  876.   messages
  877. - vc now handles filenames with spaces and always uses the complete path
  878.  
  879.  
  880. Changes since V0.2l
  881.  
  882. - in conditional-expressions the type of the result was used for the
  883.   generated comparison due to a bug
  884. - ceil() and floor() were added to m881.lib (cla68k)
  885. - flags may be specified more than once
  886. - vbcc does not change argv any more
  887. - output of errors/warnings changed and error/warning-texts put in <errors.h>
  888. - % with powers of two is not replaced by an 'and' any more if the operand is
  889.   signed (cga68k)
  890. - entries in the history-file now in (bad) English rather than German
  891. - -dontwarn option added to suppress certain warnings
  892. - type conversions that are unnecessary on a certain machine may be omitted
  893.  
  894.  
  895. Aenderungen seit V0.2k
  896.  
  897. - bei shifts werden keine arithmetischen Typerweiterungen mehr vorgenommen
  898. - endlose Fehlerschleifen sollten erkannt werden
  899. - Anfang eines SmallCode/SmallData-Modus; -sc und -sd schalten den jeweiligen
  900.   Modus ein; deswegen wird auch vermehrt lea/pea verwendet (cga68k)
  901. - startup.o initialisiert nun a4 fuer den SmallData-Modus (cla68k)
  902. - die xref _LVO aus startup entfernt
  903. - fd2lib geschrieben
  904. - diverse Libraryfunktionen geschrieben (vla68k)
  905. - der rechte Teil einer conditional-expression ist jetzt eine
  906.   conditional-expression (war faelschlicherweise expression)
  907. - Verwaltung der sections etwas geaendert; section=-1 am Anfang (cga68k)
  908. - Fehlerbehandlung verbessert: Initialisierungen von unvollstaendigen
  909.   Strukturen/Unionen, Arrays mit size==0 und nicht vorhandene Identifier
  910. - Fehler bei der Erkennung von Fehler-Endlosschleifen behoben; funktioniert
  911.   aber trotzdem nicht immer
  912. - Workaround fuer den compare-bug; leider nicht sehr schoen
  913. - Warnung bei dem Push-Problem
  914. - Ausdruecke hinter return wurden bemaengelt, wenn die Funktion void war
  915. - Funktionsargumente werden bei -O=256 nicht mehr sofort vom Stack geholt
  916.   sondern, wenn moeglich gesammelt und dann auf einmal
  917.  
  918.  
  919. Aenderungen seit V0.2j
  920.  
  921. - vc ruft jetzt 'FreePhxAss' statt 'CPhxAss' auf (vca68k)
  922. - free() verkraftet 0 (cla68k)
  923. - bei aufgetretenen Fehlern wird der Returncode auf EXIT_FAILURE gesetzt
  924. - keine Fehlermeldung bei Files ohne Funktionsdefinition mehr
  925. - Fehler behoben, der bei Verwendung einer Adressierungsart der Form
  926.   (d,ax,dy.w[*z]) zu unnoetigen internal errors und evtl. Schlimmerem
  927.   fuehrte (&7 vergessen) (cga68k)
  928. - difftime() wird in time.h als Makro definiert (cla68k)
  929. - #undef difftime in difftime.c eingefuegt (cla68k)
  930. - Deklaration von rename() in stdio.h korrigiert (cla68k)
  931. - wird Flag 8 (256) bei -O gesetzt, wird a5 nicht mehr als Framepointer
  932.   benutzt (cga68k)
  933. - "offset out of object"-Meldungen geaendert
  934. - string-Funktionen geaendert (cla68k)
  935. - Fehler bei Registerallocation, der auftrat, wenn der Rueckgabewert nicht
  936.   in einem Register zurueckgegen wird, behoben
  937. - Variablendeklaration geaendert; sollte jetzt korrekter sein und tentative
  938.   definitions besser behandeln
  939. - fehlendes ; in stdlib.h eingefuegt (cla68k)
  940. - bei saveregs vor einem function call wird ein Scratchregister, ueber das
  941.   die Funktion aufgerufen wird, nicht gespeichert
  942. - wenn der compare-Fehler auftritt sollte zumindest ein error gemeldet
  943.   werden (cga68k)
  944. - wenn keine lokalen Variablen benutzt werden, wird kein Platz auf dem
  945.   Stack gemacht (cga68k)
  946. - Berechnung des Alignments fuer Kopierschleife sollte jetzt auch ohne
  947.   Framepointer korrekt sein (cga68k)
  948. - vc stark geaendert und config-file eingefuehrt (vca68k)
  949. - bei Meldungen wird der Filename mit ausgegeben
  950.  
  951.  
  952. Aenderungen seit V0.2i
  953.  
  954. - Verbesserung der Codegenerierung fuer FPU-Operationen (cga68k)
  955. - Problem bei USEQ2ASZ und Zusammenfassen von IC/ASSIGN behoben
  956. - floating point nun auch ohne FPU moeglich, noch nicht 100% fehlerfrei (cga68k/cla68k)
  957. - Anfang einer Mathelibrary fuer die IEEE-Libraries (cla68k)
  958.   FloatingPoint<->UnsignedInteger nicht korrekt
  959. - Fehler bei switch(UNSIGNED) behoben
  960. - alignment von struct-members sollte wieder passen
  961. - unsigned char/short->fp mit FPU korrigiert (cga68k)
  962. - ein labeled-statement enthaelt das nachfolgende statement
  963. - _main aus mieee.lib oeffnet die Libraries nun in der richtigen
  964.   Reihenfolge (autsch) (cla68k)
  965. - Test auf am->Register in get_reg() eingebaut
  966. - Fehler bei Kopierschleife behoben
  967. - allocreg zaehlt bei Nutzung von erweiterten Adressierungsarten als
  968.   zerstoerend; sollte damit jetzt halbwegs stabil sein; allerdings duerften
  969.   noch internal errors, die aber wohl nichts mehr bedeuten, drin sein
  970. - allocreg/freereg von Registervariablen wird aus Code entfernt und internal
  971.   errors sind beseitig; sollte nur Effekt haben, wenn Returnregister als
  972.   Registervariable verwendet wird
  973. - bei initialisierten Unionen werden jetzt auch die uebrigen Werte aufgefuellt
  974. - bei initialisierten auto Strukturen und Unionen duerfen auch Strukturen/
  975.   Unionen gleichen Typs angegeben werden
  976. - die Kopierroutinen sollten jetzt in (fast?) allen Faellen korrekt
  977.   funktionieren und teilweise auch schneller sein
  978. - Fehler mit auto arrays der Form a[]=... behoben; der Offset wurde nicht
  979.   hochgezaehlt
  980. - difftime in der Math Library (cla68k)
  981. - einige ueble Fehler aus dem frontend fuer amiga68k entfernt (vca68k)
  982. - unbenannte Bitfelder werden bei Initialisierungen jetzt uebergangen
  983. - strengere Pruefung bei Zuweisungen zwischen Zeigern mit verschiedenen
  984.   Qualifiern
  985. - Funktionsdefinitionen nach altem Stil erzeugen keinen Prototype mehr
  986. - float Parameter in alten Funktionsdefinitionen werden korrekt behandelt
  987. - diverse Aenderungen bei der Belegung von Registervariablen; gibt jetzt
  988.   Register etwas leichter her
  989.  
  990.  
  991. Aenderungen seit V0.2h
  992.  
  993. - Fehler beim Kommaoperator behoben und Meldung bei fehlenden sidefx
  994. - Konvertierungsroutinen fuer target data types geaendert
  995. - Routinen fuer Fehler/Warnungen akzeptieren jetzt beliebige Parameterlisten
  996. - Initialisierungen wie (cast)&var werden erlaubt (evtl. Probleme, wenn
  997.   verschiedene Pointer existieren)
  998. - die Adresse eines Arrays kann jetzt ermittelt werden
  999. - Ueberpruefung der Gleichheit von Typen verbessert
  1000. - Registerbelegung bei return verbessert
  1001. - ueberfluessige Warnung bei nicht initialisierter const extern Variable
  1002.   entfernt
  1003. - Franks div/mod in vc.lib eingebaut (cla68k)
  1004. - Fliesskomma-returnwerte nur noch in fp0, wenn fuer fpu generiert wird (cga68k)
  1005. - Stringkonstanten sind nicht mehr const char[] sondern char[]
  1006. - vc versteht nun -l Option (vca68k)
  1007. - printf/scanf durch leicht veraenderte Versionen aus libnix ersetzt (cla68k)
  1008. - Anfang einer Mathelibrary fuer 68881 (cla68k)
  1009. - (hoffentlich) korrekte floating point->integer Rundung bei FPU (cga68k)
  1010.  
  1011.  
  1012. Aenderungen seit V0.2g
  1013.  
  1014. - Fehler bei Registerbelegung in totem Code behoben
  1015. - Fehler bei Registerbelegung in switch-statements behoben
  1016. - boeser Fehler bei Variablen mit nicht-Register-return-values behoben
  1017. - vc.lib: Ctrl-C wird erkannt (manchmal) (cla68k)
  1018. - vc.lib: malloc() verbessert (cla68k)
  1019. - vc.lib: limits.h korrigiert (cla68k)
  1020. - vc.lib: time.h und time-Funktionen eingebaut (cla68k)
  1021. - keine Warnung mehr bei const typedefs
  1022. - Warnung bei Initialisierung von typedefs
  1023. - verschiedene Aenderungen bei der Behandlung von storage-classes
  1024. - globale static Variablen werden jetzt nicht mehr exportiert
  1025. - storage-classes in Prototypen werden beachtet
  1026. - const Variablen werden nicht mehr als Konstanten behandelt (war fehlerhaft)
  1027. - Fehler in union atyps behoben (vuchar war zchar statt zuchar, argh!)
  1028. - string concatenation eingebaut
  1029. - Umwandlung unsigned->floating point mit FPU korrigiert (cga68k)
  1030. - Vergleiche bei unsigned werden jetzt korrekt behandelt (cga68k)
  1031. - bessere Behandlung von Funktionsprototypen
  1032. - Zuweisungen zwischen Funktions- und Datenzeigern sind nicht mehr erlaubt
  1033.  
  1034.  
  1035. Aenderungen seit V0.2f
  1036.  
  1037. - -snma entfernt (cga68k)
  1038. - einige Vereinfachungen im Codegenerator wegen reg/freg-Benutzung (cga68k)
  1039. - Entfernung einiger alter Codefragmente im Codegenerator (cga68k)
  1040. - Abfrage bei malloc() eingebaut
  1041. - einige Fehler bei der IC-Generierung im Zusammenhang mit Registerbelegung
  1042.   behoben
  1043. - Fehlerbehandlung verbessert; nach -maxerror=n (default 10) Fehlern
  1044.   wird Uebersetzung abgebrochen (bei 0 wird nicht abgebrochen)
  1045. - -ansi unterdrueckt unwichtige Warnungen und Warnungen mit ANSI-Verletzung
  1046.   werden als Fehler behandelt
  1047. - Flags loeschen jetzt durch &=~
  1048. - Zuweisungen von Arrays werden korrekt(er) behandelt (cga68k)
  1049. - Zuweisungen von groesseren Typen geaendert, muss aber noch optimiert
  1050.   werden. (cga68k)
  1051. - falscher Returncode in alg_opt() korrigiert
  1052. - Behandlung von const-Konstanten korrigiert
  1053. - Meldung, wenn main() nicht int ist
  1054. - arithmetik mit void * nicht mehr erlaubt
  1055. - casting nach void erlaubt
  1056.  
  1057.  
  1058. Aenderungen seit V0.2e
  1059.  
  1060. - Nutzung von 680x0-Adressierungsarten eingebaut (cga68k)
  1061. - Schreibweise displ(ax) durch (displ,ax) ersetzt (cga68k)
  1062. - Nutzung von reg/freg; dadurch kein zusaetzlicher Pass noetig (cga68k)
  1063.  
  1064.  
  1065. Aenderungen seit V0.2d
  1066.  
  1067. - Typpruefung bei Zuweisungen verbessert und nun auch bei Initialisierungen
  1068. - freed free Register teilweise behoben (?)
  1069. - Deklarationen von Prototypen ohne Typ werden bemaekelt
  1070. - Abhanegigkeit in eigenen Include-Dateien behoben
  1071. - Fehler bei arithmetischen Operationen behoben (cga68k)
  1072. - falsche Fehlermeldung bei unsigned Typ als Schleifenbedingung
  1073. - / und % wird nun auch mit 68000 unterstuetzt (wenn auch ineffizient) (cga68k)
  1074. - Fehler bei ADDI2P und SUBIFP behoben
  1075. - Fehler (mit DREFOBJ) bei Zusammenfassung op x,y->reg;move reg->z behoben
  1076. - Optionen, die einen Parameter benoetigen, muessen jetzt -opt=parameter
  1077.   geschrieben werden, also z.B. vbcc -cpu=68020 file.c
  1078.   (das war noetig, um das Frontend und Wildcards zu vereinfachen)
  1079. - enumerations eingebaut; noch einfach ohne grosse Tests, Tags werden ignoriert
  1080. - arithmetische const Typen werden in Ausdruecken als Konstanten behandelt
  1081.  
  1082.  
  1083. Aenderungen seit V0.2c
  1084.  
  1085. - -noa4 Option hinzugekommen (cga68k)
  1086. - Fehler beim Vertauschen von COMPARE-Argumenten und mustrepeat behoben (cga68k)
  1087. - Fehler bei vorzeitiger Registerfreigabe bei POSTINC/POSTDEC behoben
  1088. - Fehler bei mehreren Variablendeklarationen mit Funktionen behoben
  1089. - Fehler bei dc float|double behoben (cga68k)
  1090. - Fehler bei sections und dc/ds behoben (cga68k)
  1091. - Fehler bei Rechnungen mit FP-Registern behoben (cga68k)
  1092. - diverse Fehler bei a op= b behoben
  1093. - jetzt hoffentlich immer korrekte Verwendung von lsl/lsr/asr (cga68k)
  1094. - vbcc hat sich endlich erfolgreich selbst kompiliert
  1095. - Fliesskommakonstanten eingebaut; Berechnung aber noch zu ungenau
  1096. - Deklaration fuer Bitfields eingebaut; werden aber noch als Integers behandelt
  1097. - Fehler bei interner Verarbeitung von Fliesskommazahlen behoben
  1098. - Deklarationen der Form unsigned a; extern a; etc. werden zugelassen
  1099. - Anfaenge einer eigenen C-Library
  1100.  
  1101.  
  1102. Volker (volker@vb.franken.de)
  1103.  
  1104.